import React from 'react';
import styles from './index.less';

export default class extends React.Component {
  render() {
    var fileUrl = `https://gstor-default-workspace-cn-shanghai-c218770b.oss-cn-shanghai.aliyuncs.com/aitest%281%29.docx`;
    return (
      <div className={styles.container}>
        <iframe
          ref={dom => {
            this.dom = dom;
          }}
          src={`https://view.officeapps.live.com/op/embed.aspx?src=${fileUrl}`}
          width="100%"
          frameborder="0"
        ></iframe>
      </div>
    );
  }
}
